﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MaintenanceService.Common.Scheduler
{
    public interface IServiceScheduler
    {
        /// <summary>
        /// Gets the service sleep time.
        /// </summary>
        /// <param name="arg">Decide next sleeping time.</param>
        /// <returns>Seconds the service must sleeep.</returns>
        int GetServiceSleepTime(ServiceSchedulerArgs arg);
    }
}
